package org.example.carsystem.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysDictData implements Serializable {
    /**字典编码*/
    private Long dictCode;
    /**字典排序*/
    private Integer dictSort;
    /**字典标签*/
    private String dictLabel;
    /**字典键值*/
    private String dictValue;
    /**字典类型*/
    private String dictType;
    /**样式属性（其他样式扩展）*/
    private String cssClass;
    /**表格回显样式*/
    private String listClass;
    /**是否默认（Y是 N否）*/
    private String isDefault;
    /**状态（0正常 1停用）*/
    private String status;
    /**创建者*/
    private String createBy;
    /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**更新者*/
    private String updateBy;
    /**更新时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**备注*/
    private String remark;
    @TableField(exist = false)
    private Date t1;
    @TableField(exist = false)
    private Date t2;

}
